package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.common.model.PageResult;
import com.jzo2o.customer.model.domain.WorkerCertificationAudit;
import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditAddReqDTO;
import com.jzo2o.customer.model.dto.request.WorkerCertificationAuditPageQueryReqDTO;
import com.jzo2o.customer.model.dto.response.WorkerCertificationAuditResDTO;

/**
 * @author: LiuLi
 * @Date: 2025/09/18 上午11:38
 * @Description: 服务人员认证审核服务接口
 */
public interface IWorkerCertificationAuditService extends IService<WorkerCertificationAudit> {
    /**
     * 申请实名认证审核
     * @param workerCertificationAuditAddReqDTO 实名认证审核申请DTO
     */
    void add(WorkerCertificationAuditAddReqDTO workerCertificationAuditAddReqDTO);
    
    /**
     * 分页查询认证申请信息
     * @param queryDTO 分页查询条件
     * @return 分页结果
     */
    PageResult<WorkerCertificationAuditResDTO> pageQuery(WorkerCertificationAuditPageQueryReqDTO queryDTO);


    /**
     * 更新服务人员认证状态
     * @param id 服务人员认证id
     */
    void updateWorkerCertification(Long id, Integer certificationStatus, String rejectReason);

}
